package com.ebt.m.config;

/**
 * Created by Rick.Wang on 2017/5/17.
 */

public class BindType {
    public static final String QQ = "QQ";
    public static final String Weibo = "Weibo";
    public static final String Wechat = "Wechat";

    /**
     * 检查是否绑定了第三方登录
     * @param bindType
     * @return
     */
    public static boolean checkIfThirdPartLogin(String bindType){
        boolean ret = false;
        if (QQ.equalsIgnoreCase(bindType)){
            ret = true;
        }
        if (Weibo.equalsIgnoreCase(bindType)){
            ret = true;
        }
        if (Wechat.equalsIgnoreCase(bindType)){
            ret = true;
        }
        return ret;
    }

}
